﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeBehind="ExportCustomer.aspx.cs" Inherits="CrmContacto.WebApp.App.ExportCustomer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%@ Import Namespace="Web.Framework.Translate" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:GridView ID="GridCustomer" runat="server" CellPadding="4" ForeColor="#333333"
            GridLines="None" AutoGenerateColumns="False" DataKeyNames="Id" Width="100%" AllowPaging="false"            
            OnRowDataBound="GridCustomer_RowDataBound">
            <AlternatingRowStyle BackColor="White" />
            <Columns>                                              
                <asp:BoundField DataField="Email" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.Email"] %>' SortExpression="Email">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="Nombre" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.Nombre"] %>' SortExpression="Nombre">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="Apellido" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.Apellido"] %>' SortExpression="Apellido">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="TipoDocumentoId" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.TipoDocumento"] %>' SortExpression="TipoDocumentoId">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="Dni" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.DocumentoShort"] %>' SortExpression="Dni">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="EstadoEmail" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.EstadoEmail"] %>' SortExpression="EstadoEmail">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="FechaUltimaCompra" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.UltimaCompraShort"] %>' DataFormatString="{0:dd-MM-yyyy}"  SortExpression="FechaUltimaCompra">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                 <asp:BoundField DataField="OrigenId" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.Origen"] %>'
                    SortExpression="OrigenId">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="OrigenPuntoDeVentaId" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.OrigenPuntoDeVentaId"] %>'
                    SortExpression="OrigenPuntoDeVentaId">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="CumpleDia" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.CumpleanosDia"] %>' SortExpression="CumpleDia">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="CumpleMes" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.CumpleanosMes"] %>' SortExpression="CumpleMes">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="CumpleAnio" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.CumpleanosAnio"] %>' SortExpression="CumpleAnio">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="NacionalidadId" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.Nacionalidad"] %>' SortExpression="NacionalidadId">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                <asp:BoundField DataField="ProvinciaId" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.Provincia"] %>' SortExpression="ProvinciaId">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                 <asp:BoundField DataField="Domicilio" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.Domicilio"] %>' SortExpression="Domicilio">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                 <asp:BoundField DataField="CodigoPostal" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.CodigoPostal"] %>' SortExpression="CodigoPostal">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                  <asp:BoundField DataField="Estado" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.Estado"] %>' SortExpression="Estado">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                 <asp:BoundField DataField="Telefono" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.Telefono"] %>' SortExpression="Telefono">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                  <asp:BoundField DataField="NroCredencial" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.NroCredencial"] %>' SortExpression="NroCredencial">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                 <asp:BoundField DataField="AuditFechaCreacion" HeaderText='<%$ Code:  LocalizationProvider.Instance["Auditoria.FechaCreacion"] %>'
                    DataFormatString="{0:dd-MM-yyyy}" SortExpression="AuditFechaCreacion">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                    <asp:BoundField DataField="Sexo" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.Sexo"] %>'
                     SortExpression="Sexo">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>   
                  <asp:BoundField DataField="AuditUserNameCreacion" HeaderText='<%$ Code:  LocalizationProvider.Instance["Auditoria.UsuarioCreador"] %>'
                    SortExpression="AuditUserNameCreacion">
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                 <asp:BoundField DataField="CategoriasDisplay" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.Categoria"] %>' >
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                  <asp:BoundField DataField="CantidadHijos" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.CantidadHijos"] %>' >
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
                 <asp:BoundField DataField="EdadHijoMenor" HeaderText='<%$ Code:  LocalizationProvider.Instance["Contacto.EdadHijoMenor"] %>' >
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:BoundField>
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#4b6c9e" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
            <PagerStyle BackColor="#4b6c9e" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
    </div>
    </form>
</body>
</html>
